#pragma once
#include <string>
#include <sstream>
#include <vector>
#include <xercesc/parsers/XercesDOMParser.hpp>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/util/XMLString.hpp>
//#include <xercesc/util/PlatformUtils.hpp>
//#include <xercesc/framework/StdOutFormatTarget.hpp>

using namespace std;
using namespace xercesc;

class CXMLDocument
{
	DOMDocument* m_pDocument;
private:
	CXMLDocument(void);
public:
	~CXMLDocument(void);
public:
	static CXMLDocument* Read(string uri);
	static CXMLDocument* Create(string uri);
	static string XMLCh_to_string(const XMLCh* in);
	static double string_to_double(string s);
	static int string_to_int(string s);
//public:
	//bool Read(string filename);
};